package com.luzhikun.service;

import com.luzhikun.domain.User;

/**
 * @Author Rookie Coder
 * @Description
 * @Date
 **/
public interface IUserService {

    /*
     * @Author liu-miss
     * @Description 用户登录
     * @Date 16:37 2021/5/23
     * @Param [username, password]
     * @return com.luzhikun.domain.User
     **/
    public User loginUser(String username);

    /*
     * @Author liu-miss
     * @Description 查询所有用户
     * @Date 22:48 2021/5/23
     * @Param []
     * @return int
     **/
    public User userId();

    /*
     * @Author liu-miss
     * @Description 用户注册
     * @Date 22:49 2021/5/23
     * @Param
     * @return
     **/
    public void userIndex(String username,String password,String phone);
    /*
     * @Author liu-miss
     * @Description 查询是否有相同号码的人
     * @Date 14:02 2021/5/24
     * @Param
     * @return
     **/
    public User useerIndexSerlectByPhone(String phone);
}
